﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PHMEE.Admin
{
    /// <summary>
    /// 创建请求策略
    /// </summary>
    public class SysParaCreateDto
    {
        /// <summary>
        /// 数采器类型
        /// </summary>
        public string CollectorType { get; set; }
        /// <summary>
        /// 数采器编码
        /// </summary>
        public string CollectorCode { get; set; }
        /// <summary>
        /// 波形间隔
        /// </summary>
        public int WavePeriod { set; get; }
        /// <summary>
        /// 波形间隔--时间单位
        /// </summary>
        public IntervalUnit WavePeriodUnit { set; get; }
        /// <summary>
        /// 指标间隔
        /// </summary>
        public int IndexPeriod { set; get; }
        /// <summary>
        /// 指标间隔-时间单位
        /// </summary>
        public IntervalUnit IndexPeriodUnit { set; get; }
        /// <summary>
        /// 采样值间隔
        /// </summary>
        public int SamplingPeriod { set; get; }
        /// <summary>
        /// 采样值间隔--时间单位
        /// </summary>
        public IntervalUnit SamplingPeriodUnit { set; get; }
        /// <summary>
        /// 采集模式（1,2都代表既采集定时，也采集报警）
        /// </summary>
        public int CollectType { set; get; }
        /// <summary>
        /// 连续报警次数
        /// </summary>
        public int AlarmCount { get; set; }
        /// <summary>
        /// 解除报警次数
        /// </summary>
        public int UnAlarmCount { get; set; }
        /// <summary>
        /// 速度计算频率下限
        /// </summary>
        public int VelLowerFrq { get; set; }
        /// <summary>
        /// 速度计算频率上限
        /// </summary>
        public int VelUpperFrq { get; set; }
        /// <summary>
        /// 采样点数
        /// </summary>
        public int SamplingPoint { get; set; }
        /// <summary>
        /// 采样频率
        /// </summary>
        public float SamplingFrequency { get; set; }
    }
}
